import Vue from 'vue'
// import { Menu, Submenu, MenuItem } from 'element-ui'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/style/reset.css'
import './assets/style/common.scss'
import './utils/rem.js'
import * as filters from './utils/filters' // global filters
import VueAwesomeSwiper from 'vue-awesome-swiper'
Vue.use(VueAwesomeSwiper)

Vue.config.productionTip = false

import ElementUI from 'element-ui'
Vue.use(ElementUI)

Object.keys(filters).forEach((key) => {
  Vue.filter(key, filters[key])
})

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app')
